package com.jykj.modbus.equipment.entity;

import gnu.io.SerialPort;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import java.util.Map;

/**
 * 返回数据封装类
 */
@Getter
@Setter
public class ReturnModBus {
    //传感器类型
    private String sensorType;
    //查询类别
    private String type ;
    //SerialPort对象
    private SerialPort serialport ;
    //返回参数
    private Map<String , Object> returnData;

}
